package Creational.Factory.AbstractFactory.demo1;

public class AbstractFactoryDemo1 {
	public static void main(String[] args) {
		// Factory factory = new NowFactory();
		Factory factory = new MagicFactory();
		MoveAble moveAble = factory.createMoveAble();
		moveAble.go();
		Weapon weapon = factory.createWeapon();
		weapon.shoot();
	}
}
